Crate migrate_state[][src]

Expand description

Traits related to migration state storage.

They are separate from migrate-core crate to guarantee more stability, even when there are breaking changes to migrate-core crate. This is because it serves as an interface for the considerable part of migrate ecosystem, namely for different state storage and locks implementations. We would like to avoid updating all of them, especially if they don’t reside in our repository.

Traits

Client for the migration state storage.

Object returned from StateLock::lock() that while alive holds the lock on the state storage preventing concurrent access to it from multiple threads and processes.

The lock over a migration state storage.

Type Definitions

Type alias for the std::result::Result type used in the traits